<template>

  <div>
    <Header />
    <router-view />
    <Footer v-if="!$route.meta.isHiddenFooter" />
  </div>
</template>

<script>
import Header from "@/components/Header";
import Footer from "@/components/Footer";

export default {
  name: "App",
  components: {
    Header,
    Footer,
  },
  computed: {
    isShowFooter() {
      const path = this.$route.path;
      return path !== "/login" && path !== "/register";
    },
  },
};
</script>

<style>
</style>
